package com.dreamer.service.mobile;

import com.dreamer.domain.user.AccountsTransfer;
import com.dreamer.domain.user.User;
import ps.mx.otter.utils.SearchParameter;

import java.util.List;

/**
 * Created by huangfei on 02/07/2017.
 */
public interface AccountsTransferHandler extends BaseHandler<AccountsTransfer>{

    void transferAccounts(Integer fid, Integer tid, Integer typeState, Double amount, String remark);

    List<AccountsTransfer> findAccountsTransfer(SearchParameter<AccountsTransfer> parameter,User user);

    String recharge(String body);//充值

    List getMyReward(Integer agentId,Integer type,String startTime,String endTime); //获取某个代理的奖励汇总type为1查询自己发出的奖励 为2查询自己受到的奖励

    List<AccountsTransfer> getRewardDetail(Integer fromId,Integer toId,String startTime,String endTime); //获取奖励明细
}
